/**
 * Http Status Code
 * @type {{OK: number, UNAUTHORIZED: number, FORBIDDEN: number, NOT_FOUND: number, INTERNAL_SERVER_ERROR: number}}
 */
export const HTTP_STATUS_CODE = {
    OK: 200,
    UNAUTHORIZED: 401,
    FORBIDDEN: 403,
    NOT_FOUND: 404,
    INTERNAL_SERVER_ERROR: 500
};

/**
 * api响应编码
 * @type {{OK: number, BUSINESS_EXCEPTION: number, APPLICATION_EXCEPTION: number, NOT_FOUND: number}}
 */
export const RESPONSE_CODE = {
    OK: 0,
    BUSINESS_EXCEPTION: 1,
    APPLICATION_EXCEPTION: 2,
    NOT_FOUND: 3
};